<template>
  <div class="container">
    <div class="app-container">
      审批
      <p ref="ceshi">{{ a }}</p>
      <button @click="fn">点击</button>
    </div>
  </div>
</template>
<script>
export default {
  name: 'Approvals',
  data() {
    return {
      a: 50
    }
  },
  methods: {
    fn() {
      this.a = 100
      console.log(this.$refs.ceshi.innerHTML)
    }
  }
}
</script>
